package xyz.labmem.main.modular.app.gmjj.entity

import com.alibaba.excel.annotation.ExcelProperty
import com.alibaba.excel.annotation.format.DateTimeFormat
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName
import com.fasterxml.jackson.annotation.JsonFormat
import com.fasterxml.jackson.annotation.JsonInclude
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import xyz.labmem.base.core.annotion.SocketPath
import xyz.labmem.base.core.annotion.SqlColumn
import xyz.labmem.base.core.base.GFBaseEntity
import java.util.*

/**
 * @Author lty
 * @Date 2022/2/7 10:51
 */
@SocketPath("false",order=52,issub = true)
@TableName("yjglj_yjbzzdwz_cbwzcjb")

@ApiModel(value = "应急管理局_应急保障重点物资_储备物资采集表")
class App_yjgljyjbzzdwzcbwzcjb : GFBaseEntity<App_yjgljyjbzzdwzcbwzcjb>() {


    @SqlColumn(unit = true)
    @TableField("dwmcy")
    @ApiModelProperty(value = "物资储备单位详细名称")
    @ExcelProperty("物资储备单位详细名称")
    var dwmcy: String? = null

    @SqlColumn
    @TableField("DWXXDZ")
    @ApiModelProperty(value = "单位详细地址")
    @ExcelProperty("单位详细地址")
    var dwxxdz: String? = null

    @TableField("JD")
    @ApiModelProperty(value = "经度")
    @ExcelProperty("经度")
    var jd: String? = null

    @TableField("WD")
    @ApiModelProperty(value = "纬度")
    @ExcelProperty("纬度")
    var wd: String? = null

    @SqlColumn
    @TableField("DWFZR")
    @ApiModelProperty(value = "单位负责人")
    @ExcelProperty("单位负责人")
    var dwfzr: String? = null

    @SqlColumn
    @TableField("LXFS")
    @ApiModelProperty(value = "联系方式")
    @ExcelProperty("联系方式")
    var lxfs: String? = null

    @SqlColumn
    @TableField("WZCFJTDD")
    @ApiModelProperty(value = "物资存放具体地点")
    @ExcelProperty("物资存放具体地点")
    var wzcfjtdd: String? = null

    @TableField("tbrq")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat("yyyy-MM-dd")
    @ApiModelProperty(value = "填表日期")
    @ExcelProperty("填表日期")
    var tbrq: Date? = null

    @TableField("SSXQ")
    @ApiModelProperty(value = "所属辖区")
    @ExcelProperty("所属辖区")
    var ssxq: String? = null

}